<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<!-- start Slider -->
<div id="slider_background">
<div id="slider_holder">
<div id="slider-container">
        <div class="static left">
        <div class="relative">
        <div id="ss-left"></div>
        </div>
</div>
<div class="slider-wrapper">
        <div class="vendeirinho-slider">
        <div id="focus">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=379520998ecd46f0b72d0700f246ceb4&action=lists&catid=9&order=listorder+ASC&num=10&return=info\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$info = $content_tag->lists(array('catid'=>'9','order'=>'listorder ASC','limit'=>'10',));}?>
        <ul class="slides">
        <?php $n=1;if(is_array($info)) foreach($info AS $v) { ?>              
        <li class="slide"><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><img src="<?php echo $v['thumb'];?>" alt="<?php echo $v['title'];?>"></a></li>
        <?php $n++;}unset($n); ?>
        </ul>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </div>
    </div>
        <div class="static right">
        <div class="relative">
        <div id="ss-right"></div>
        </div>
    </div>					
</div>
</div>
</div>
<div class="clear"></div>
</div>

<!-- END Slider -->
<!-- start content -->
<div id="content_wrapper">
<div id="midcaption">
   	<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=9403aa0f20eec552a2871435355f0f9f&action=lists&catid=7&order=id+DESC&num=1&return=info\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$info = $content_tag->lists(array('catid'=>'7','order'=>'id DESC','limit'=>'1',));}?>
    <?php $n=1;if(is_array($info)) foreach($info AS $r) { ?>
    <p><strong>公告：</strong><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></p>
    <?php $n++;}unset($n); ?>
</div>
<div class="mid"><a href="<?php echo $r['url'];?>" class="button white">了解更多</a></div>
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
<div class="clearfix"></div>
<div id="lines" class="margin20"></div>
<div class="breadcrumbs">
<ul>
<li><span>项目/产品介绍</span></li>
</ul>
</div>
<div class="clear"></div>
<div id="line"></div>
<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=20fcf43893453983a1ce53c2918bc399&action=lists&catid=8&order=id+DESC&thumb=1&num=4&return=info\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$info = $content_tag->lists(array('catid'=>'8','order'=>'id DESC','thumb'=>'1','limit'=>'4',));}?>
<div id="content" style="width: 100%;">
	<div id="main_column">
      <div id="portfolio_box">
       <ul style="width:auto;">
       <?php $n=1;if(is_array($info)) foreach($info AS $v) { ?>
          <li style="float:left;">
		  <div class="image">
          <a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><img src="<?php echo thumb($v[thumb],220,140);?>" alt="<?php echo $v['title'];?>"></a>
		  </div>
          <div class="project_info">
            <h2><a href="<?php echo $v['url'];?>" title="<?php echo $v['title'];?>"><?php echo str_cut($v['title'],20);?></a></h2>
            <h3><?php echo str_cut($v['description'],30);?></h3>
          </div>
         </li>
         <?php $n++;}unset($n); ?>
         </ul><!--END ul-->
       </div>
</div>	
</div>
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
<link href="<?php echo CSS_PATH;?>pxgrids/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo JS_PATH;?>pxgrids/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("a[data-id^='fancybox']").fancybox({
        'overlayShow' : true,
        'overlayColor'    : '#000',
        'transitionIn'  : 'elastic',
        'transitionOut' : 'elastic'       
}); 
$("a[data-id^='fancybox-linker']").fancybox({
        'overlayShow' : true,
        'overlayColor'    : '#000',
        'transitionIn'  : 'elastic',
        'transitionOut' : 'elastic',
        'height' : 330,
        'width' : 500   
}); 
});
</script>
<script type='text/javascript' src='<?php echo JS_PATH;?>pxgrids/custom-libraries.js?ver=1.0'></script>
<div class="linker">
<div class="breadcrumbs">
<ul>
<li><span>友情链接</span></li>
</ul>
</div>
<div class="applylinker"><a href="<?php echo APP_PATH;?>index.php?m=link&c=index&a=register&siteid=<?php echo $siteid;?>" class="iframe" data-id="fancybox-linker">申请链接</a></div>
<div class="clear"></div>
<div id="line"></div>
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=739cb3b8b3f695b2de63641e464db107&action=type_list&siteid=%24siteid&order=listorder+ASC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'10',));}?>
       <ul>
       <?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
          <li><a href="<?php echo $v['url'];?>" title="<?php echo $v['name'];?>" target="_blank"><?php echo $v['name'];?></a></li>
         <?php $n++;}unset($n); ?>
        </ul><!--END ul-->
         <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
</div>
</div>
<?php include template("content","footer"); ?>